package nihe;
import nihe.*;
import java.io.*;

public class ShuRu
{
	static int i=0;
	int j=0;
	String str1;
	static double db1[]=new double[1000];
	static double db2[]=new double[1000];
	public ShuRu(String str)
	{
		try
		{
			FileReader fin=new FileReader(str);
			LineNumberReader lnr=new LineNumberReader(fin);
			str1=lnr.readLine();
			while(str1!=null)
			{
				String str2[]=str1.split(",");
				db1[i]=Double.valueOf(str2[0]).doubleValue();
				db2[i]=Double.valueOf(str2[1]).doubleValue();
				i++;
				str1=lnr.readLine();
			}
			lnr.close();
			fin.close();
		}
		catch(IOException e)
		{
			System.err.println(e);
		}
	}
}